/*
 * AlarmEventsScrollPane.java
 *
 * Created on November 1, 2007, 11:25 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

/**
 *
 * @author drew
 */
import java.awt.*;
import javax.swing.*;
public class AlarmEventsScrollPane extends JScrollPane
{
	AlarmEventsPanel panel;
	JScrollBar vbar;
	/** Creates a new instance of AlarmEventsScrollPane */
	public AlarmEventsScrollPane (AlarmEventsPanel panel)
	{
		vbar = new JScrollBar();
		this.setVerticalScrollBar (vbar);
		this.setVerticalScrollBarPolicy (this.VERTICAL_SCROLLBAR_ALWAYS);
		this.setHorizontalScrollBarPolicy (this.HORIZONTAL_SCROLLBAR_NEVER);
		this.panel = panel;
		this.setViewportView (panel);
	}
	
}
